package top.kaoshanji.p1ch06b;

/**
 * 代码清单-p1ch06b-140页a：类型推断在for循环里使用
 * author kaoshanji
 * ^_^
 * create time 2025/3/8 19:18
 */
public class ForTypeInference {

    public static void main(String[] args) {
        for (var s: Spiciness.values()) {
            System.out.println(s);
        }

    }

}
